<div class="well">
  <form name="appForm" class="form-horizontal" role="form"
        ng-init="app_new = {};"
        ng-submit="send('app.create', app_new);">

    <div class="form-group">
      <label class="col-sm-2 control-label required">应用地址</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" placeholder="http://HOST:PORT/PATH" ng-model="app_new.url" required>
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <input class="btn btn-primary" type="submit" ng-disabled="appForm.$invalid">
        或者 <a ui-sref="setting.app">取消</a>
      </div>
    </div>
  </form>
</div>
<hr>
